﻿using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Furion.Application
{
    public class BigFileInput
    {

        /// <summary>
        /// 分片文件
        /// </summary>
        public IFormFile Data { get; set; }


        /// <summary>
        /// 文件标记
        /// </summary>
        public string LastModified { get; set; }

        /// <summary>
        /// 总片数
        /// </summary>
        public int Total { get; set; }


        public string FileName { get; set; }


        /// <summary>
        /// 当前是第几片 index
        /// </summary>
        public int FileIndex { get; set; }

        /// <summary>
        /// 临时缓存名称  type
        /// </summary>
        public string TempDir { get; set; }

    }


    public class BigFileOutput
    {
        public int CurrentIndex { get; set; }

        public bool IsMerge { get; set; }

        public string WebPath { get; set; }
    }
}
